﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFine.Domain;
using ZFine.Domain.Entity;

namespace Entity.ProjectEnt
{
    /// <summary>
    /// 工资总表
    /// </summary>
    public class SalaryEntity : IEntity<SalaryEntity>, ICreationAudited, IDeleteAudited, IModificationAudited
    {

        public string F_Id { get; set; }
        public string F_CreatorUserId { get; set; }
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        ///逻辑删除标记
        /// </summary>
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 删除实体的用户
        /// </summary>
        public string F_DeleteUserId { get; set; }
        /// <summary>
        /// 删除实体时间
        /// </summary>
        public DateTime? F_DeleteTime { get; set; }
        public string F_LastModifyUserId { get; set; }
        public DateTime? F_LastModifyTime { get; set; }

        /// <summary>
        /// 吨数 可叠加 运量
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 对位 吨数 可叠加
        /// </summary>
        public decimal? DWeight { get; set; }
        /// <summary>
        /// 应发工资
        /// </summary>
        public  decimal? NeedToPay { get; set; }

        /// <summary>
        /// 哪个员工
        /// </summary>
        public virtual UserEntity Worker { get; set; }

        public string Remark { get; set; }

        /// <summary>
        /// 累计发工资日期 如记录十月的工资 十一月清空
        /// </summary>
        public DateTime? CumulativeSalaryTime { get; set; }

        public bool? State { get; set; }

    }
}
